package com.nantian.nfcm.bms.loan.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.nantian.nfcm.bms.loan.entity.LoanDetailedReport;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LoanDetailedReportDao extends JpaRepository<LoanDetailedReport, Long>, JpaSpecificationExecutor<LoanDetailedReport> {
    List<LoanDetailedReport> findAllByLoanId(String loanId);
}
